package com.zit.java.pojo;

import java.io.Serializable;

public class Account implements Serializable {
//
//	private static final long serialVersionUID = 1L;

	private long id;
	private String password;
	private String name;
	private String personId;
	private String email;
	private double balance;
	private double ceiling;
	private double loan;
	private int gender;
	private String createDate;
	private String createUser;

	public String getCreateDate() {
		return createDate;
	}

	public void setCreateDate(String createDate) {
		this.createDate = createDate;
	}

	public String getCreateUser() {
		return createUser;
	}

	public void setCreateUser(String createUser) {
		this.createUser = createUser;
	}



	public Account() {
		super();
	}

	public Account(long id, String password, String name, String personId, String email, double balance, int gender) {
		super();
		this.id = id;
		this.password = password;
		this.name = name;
		this.personId = personId;
		this.email = email;
		this.balance = balance;
		this.gender = gender;
	}
	public long getId() {
		return id;
	}

	public void setId(long id) {
		this.id = id;
	}

	public String getPassword() {
		return password;
	}

	public void setPassword(String password) {
		this.password = password;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getPersonId() {
		return personId;
	}

	public void setPersonId(String personId) {
		this.personId = personId;
	}

	public String getEmail() {
		return email;
	}

	public void setEmail(String email) {
		this.email = email;
	}

	public double getBalance() {
		return balance;
	}

	public void setBalance(double balance) {
		this.balance = balance;
	}



	public double getCeiling() {
		return ceiling;
	}

	public void setCeiling(double ceiling) {
		this.ceiling = ceiling;
	}

	public double getLoan() {
		return loan;
	}

	public void setLoan(double loan) {
		this.loan = loan;
	}

	public int getGender() {
		return gender;
	}

	public void setGender(int gender) {
		this.gender = gender;
	}

	@Override
	public String toString() {
		return "Account{" +
				"id=" + id +
				", password='" + password + '\'' +
				", name='" + name + '\'' +
				", personId='" + personId + '\'' +
				", email='" + email + '\'' +
				", balance=" + balance +
				", ceiling=" + ceiling +
				", loan=" + loan +
				", gender=" + gender +
				", createDate='" + createDate + '\'' +
				", createUser='" + createUser + '\'' +
				'}';
	}
}
